package com.xialinrui.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xialinrui.dto.DailyAcquirementDto;
import com.xialinrui.dto.MonthlyAcquirementDto;
import com.xialinrui.dto.YearlyAcquirementDto;
import com.xialinrui.entity.Acquirement;

import java.util.List;

/**
 * @author xialinrui
 */
public interface AcquirementService extends IService<Acquirement> {
    void increaseAcquire(Long todoId, Long affairId);

    Double getMoneyNumbersTodayByAffairId(Long affairId);

    Integer getLoveNumbersTodayByAffairId(Long affairId);

    void decreaseAcquire(Long id);

    void addAcquireByAffairIdAndTime(Long id, Integer realTime);

    Integer getDailyStudyTime(Long id, Integer realTime);

    void add(Acquirement acquirement);

    List<MonthlyAcquirementDto> thingsMonthly(String from, String to);

    List<DailyAcquirementDto> thingsDaily(String from, String to);

    List<YearlyAcquirementDto> thingsYearly(String from, String to);
}
